import request from '@/utils/request'

// 查询齐套分析行列表
export function listAnalysisLine(query) {
  return request({
    url: '/mes/pro/analysisline/list',
    method: 'get',
    params: query
  })
}

// 查询齐套分析行详细
export function getAnalysisLine(id) {
  return request({
    url: '/mes/pro/analysisline/' + id,
    method: 'get'
  })
}

// 新增齐套分析行
export function addAnalysisLine(data) {
  return request({
    url: '/mes/pro/analysisline',
    method: 'post',
    data: data
  })
}

// 修改齐套分析行
export function updateAnalysisLine(data) {
  return request({
    url: '/mes/pro/analysisline',
    method: 'put',
    data: data
  })
}

// 删除齐套分析行
export function delAnalysisLine(id) {
  return request({
    url: '/mes/pro/analysisline/' + id,
    method: 'delete'
  })
}
